package com.ruoyi.labdanger.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.labdata.domain.LabFlowInstance;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 申请领用对象 lab_apply_occupation
 * 
 * @author ruoyi
 * @date 2022-03-09
 */
public class LabApplyOccupation extends LabFlowInstance
{
    private static final long serialVersionUID = 1L;
    /**
     * 危化品采购业务类型.
     */
    private static final String businessTypeOpt = "applicationChemicals";

    public LabApplyOccupation() {
        super.setBusinessTypeOpt(businessTypeOpt);
    }

    /** 申领日期 */
   // @JsonFormat(pattern = "yyyy-MM-dd")
   // @Excel(name = "申领日期", width = 30, dateFormat = "yyyy-MM-dd")
    private String applyDate;

    /** 存放学院 */
    @Excel(name = "存放学院")
    private Long collegeId;

    /** 存放卖验室 */
    private Long labId;

    /** 申领老师编号 */
    @Excel(name = "申领老师编号")
    private String applyTeacherNo;

    /** 申领老师名称 */
    @Excel(name = "申领老师名称")
    private String applyTeacherName;

    /** 委托领取人1编号 */
    @Excel(name = "委托领取人1编号")
    private String entrusted1No;

    /** 委托领取人1名称 */
    @Excel(name = "委托领取人1名称")
    private String entrusted1Name;

    /** 委托领取人编号 */
    @Excel(name = "委托领取人2编号")
    private String entrusted2No;

    /** 委托领取人2名称 */
    @Excel(name = "委托领取人2名称")
    private String entrusted2Name;

    /** 老师认证 */
    @Excel(name = "老师认证1编号")
    private String teacherVerify1No;

    /** 老师认证 */
    @Excel(name = "老师认证1名称")
    private String teacherVerify1Name;

    /** 老师认证 */
    @Excel(name = "老师认证2编号")
    private String teacherVerify2No;

    /** 老师认证 */
    @Excel(name = "老师认证2名称")
    private String teacherVerify2Name;

    public String getApplyDate() {
        return applyDate;
    }

    public void setApplyDate(String applyDate) {
        this.applyDate = applyDate;
    }

    public Long getCollegeId() {
        return collegeId;
    }

    public void setCollegeId(Long collegeId) {
        this.collegeId = collegeId;
    }

    public Long getLabId() {
        return labId;
    }

    public void setLabId(Long labId) {
        this.labId = labId;
    }

    public String getApplyTeacherNo() {
        return applyTeacherNo;
    }

    public void setApplyTeacherNo(String applyTeacherNo) {
        this.applyTeacherNo = applyTeacherNo;
    }

    public String getApplyTeacherName() {
        return applyTeacherName;
    }

    public void setApplyTeacherName(String applyTeacherName) {
        this.applyTeacherName = applyTeacherName;
    }

    public String getEntrusted1No() {
        return entrusted1No;
    }

    public void setEntrusted1No(String entrusted1No) {
        this.entrusted1No = entrusted1No;
    }

    public String getEntrusted1Name() {
        return entrusted1Name;
    }

    public void setEntrusted1Name(String entrusted1Name) {
        this.entrusted1Name = entrusted1Name;
    }

    public String getEntrusted2No() {
        return entrusted2No;
    }

    public void setEntrusted2No(String entrusted2No) {
        this.entrusted2No = entrusted2No;
    }

    public String getEntrusted2Name() {
        return entrusted2Name;
    }

    public void setEntrusted2Name(String entrusted2Name) {
        this.entrusted2Name = entrusted2Name;
    }

    public String getTeacherVerify1No() {
        return teacherVerify1No;
    }

    public void setTeacherVerify1No(String teacherVerify1No) {
        this.teacherVerify1No = teacherVerify1No;
    }

    public String getTeacherVerify1Name() {
        return teacherVerify1Name;
    }

    public void setTeacherVerify1Name(String teacherVerify1Name) {
        this.teacherVerify1Name = teacherVerify1Name;
    }

    public String getTeacherVerify2No() {
        return teacherVerify2No;
    }

    public void setTeacherVerify2No(String teacherVerify2No) {
        this.teacherVerify2No = teacherVerify2No;
    }

    public String getTeacherVerify2Name() {
        return teacherVerify2Name;
    }

    public void setTeacherVerify2Name(String teacherVerify2Name) {
        this.teacherVerify2Name = teacherVerify2Name;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("flowName", getFlowName())
            .append("applyDate", getCreateTime())
            .append("collegeId", getCollegeId())
            .append("labId", getLabId())
            .append("applyTeacherNo", getApplyTeacherNo())
            .append("applyTeacherName", getApplyTeacherName())
            .append("entrusted1No", getEntrusted1No())
            .append("entrusted1Name", getEntrusted1Name())
            .append("entrusted2No", getEntrusted2No())
            .append("entrusted2Name", getEntrusted2Name())
            .append("teacherVerify1No", getTeacherVerify1No())
            .append("teacherVerify1Name", getTeacherVerify1Name())
            .append("teacherVerify2No", getTeacherVerify2No())
            .append("teacherVerify2Name", getTeacherVerify2Name())
            .toString();
    }
}
